@import '../../styles/public.less';
.testReport {
  //position: relative; // height: calc(100vh - 52px - 15px - 90px - 15px - 15px - 15px - 15px - 50px);
  overflow: hidden;
  height: calc(100vh - 64px - 10px - 15px - 90px - 15px - 50px - 13px - 15px);
  .commonFlex();
  .testReportLeft {
    flex-shrink: 0;
    width: 281px;
    margin-right: 10px;
    background: #fff;
    height: 100%;
    box-shadow: 2px 0px 8px rgba(0, 0, 0, 0.03); // background-color: red;
  }
  .reportRight {
    position: relative;
    flex: 1;
    height: calc(100vh - 52px - 15px - 90px - 15px - 15px - 15px - 15px - 50px);
    background-color: #fff;
  }
}

.reportList {
  padding: 10px 15px;
  box-sizing: border-box;
  background-color: #ffffff;
  position: relative;
  height: calc(100vh - 64px - 10px - 15px - 90px - 15px - 50px - 13px - 15px - 89px);
  .commonDScrollbar();
  .reportCount {
    padding-bottom: 10px;
    font-size: 10px;
    color: #687179;
  }
  .reportItemBox {
    position: relative;
    .reportItem {
      margin-bottom: 10px;
      height: 60px;
      padding: 0 10px;
      .commonFlex();
      -webkit-box-pack: justify;
      -ms-flex-pack: justify;
      justify-content: space-between;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      border: 1px solid #E3E7EA;
      border-radius: 2px;
      cursor: pointer;
      .reportItemLeft {
        position: relative;
        .name {
          font-size: 13px;
          color: #687179;
          margin-bottom: 8px;
        }
        .time {
          font-size: 12px;
          color: #999;
        }
      }
      .reportItemRight {
        position: relative;
        .commonFlex();
        flex-direction: column;
        align-items: center;
        .reportIcon {
          position: relative;
          .icon {
            width: 20px;
            height: 24px;
          }
          .warning {
            position: absolute;
            top: -5px;
            right: -7.5px;
            font-size: 10px;
            padding: 0.3px 0.08rem;
            color: #fff;
            text-align: center;
            border-radius: 10px;
            border: 1px solid white;
            background: #E53C3C;
            .commonFlex ();
            align-items: center;
            justify-content: center;
          }
        }
        .result {
          font-size: 12px;
          color: #2AC592;
        }
      }
    }
    .isActive {
      background: #F4F4F4;
    }
  }
}

.reportTableBox(@width: calc(100vw -500px)) {
  max-width: @width;
}